home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 04d.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-27  |  1.5 KB  |  58 lines

  1. on startMovie
  2.   global qtChan, gSendMovie, gKnobSprite
  3.   puppetSprite(48, 1)
  4.   gSendMovie = "04d"
  5.   gKnobSprite = 14
  6.   setUpKnob()
  7.   qtChan = 11
  8.   sprite(qtChan).volume = 256
  9.   preLoad(qtChan - 1)
  10.   set the mouseDownScript to EMPTY
  11.   set the mouseUpScript to EMPTY
  12.   sprite(8).visible = 0
  13.   sprite(9).visible = 0
  14. end
  15.  
  16. on idle
  17.   global gCursorReady
  18.   if gCursorReady = 1 then
  19.     cursor(200)
  20.     checkCursors()
  21.     set the locH of sprite 48 to the mouseH
  22.     set the locV of sprite 48 to the mouseV
  23.     updateStage()
  24.   end if
  25. end
  26.  
  27. on checkCursors
  28.   global gMagCursor
  29.   set the castNum of sprite 48 to the number of member "curs1"
  30.   if rollOver(6) then
  31.     set the castNum of sprite 48 to the number of member "curs1"
  32.   end if
  33.   if rollOver(10) or rollOver(11) then
  34.     set the castNum of sprite 48 to the number of member "hotCursor"
  35.   end if
  36.   if rollOver(26) then
  37.     set the castNum of sprite 48 to the number of member "hotCursor"
  38.   end if
  39.   if rollOver(30) then
  40.     set the castNum of sprite 48 to the number of member "hotCursor"
  41.   end if
  42.   repeat with i = 15 to 17
  43.     if rollOver(i) then
  44.       set the castNum of sprite 48 to the number of member "hotCursor"
  45.     end if
  46.   end repeat
  47.   repeat with i = 33 to 35
  48.     if rollOver(i) then
  49.       set the castNum of sprite 48 to the number of member "hotCursor"
  50.     end if
  51.   end repeat
  52.   repeat with i = 40 to 42
  53.     if rollOver(i) then
  54.       set the castNum of sprite 48 to the number of member "hotCursor"
  55.     end if
  56.   end repeat
  57. end
  58.